﻿@{var _title = ViewBag.type;}
@{
    ViewBag.Title = _title;
}

@model List<zqdn.Models.Article.Article>

<div class="wrap">
    <div class="list-data-page common-list">
        @if (Model.Count == 0)
        {
            <p style='text-align:center;margin-top:10px;'>暂无信息！</p>
        }
        @foreach (var item in Model)
        {
            <div class="list-data">
                <input type="hidden" value="@item.ID" class="aid"/>
                <ul>
                    <li class="items" id="left">
                        <div>
                            <img class="list-left-img" src="~/content/images/new-operation.png" alt="">
                        </div>
                    </li>
                    <li class="items" id="center">
                       <div class="nocenter">
                           <br />
                            <p class="title">@item.Title</p>
                            <p class="user-message">
                                <span class="m1"></span>
                                <span class="m2">专家</span>
                                <span class="m3">@item.Auth</span>
                            </p>
                        </div>
                    </li>

                    <li class="items" id="right"></li>
                </ul>
            </div>
        }
    </div>
</div>

@section scripts
{
    <script>
        $(function () {
            $(".list-data").on("click", function () {
                location.href = "/CommonCenter/ArticleDetail/?aid=" + $(this).find(".aid").val() + "";
            });
        });
    </script>
}